Done some casting else the JSONParser in the client doesn't reconize the datatypes