Changed json variables from Integer to Long to avoid error