Generalize parsing of JSON in JsonBaseSpec to make tests more DRY
Clean up Play-JSON serialization code