java json converter chooses Long (Number base class). Fixing RemoteNetworkConnection