use getLong() when parsing JSON