A convenient way to serialize objects into JSON (one annotation is all that needed)