update ruby version
formatting the post serializer and JSON format