A data to JSON serializer for Java