added JSONtoLong