2 cents to improve Nickel

In the tutorial:

SELECT 519596977

=>

{
“resultset”: [
{
"$1": 519596977
}
]
}

Are you doing something else that is causing your id to lose precision? Can you post the query?