DRY:ed up the specs with a json_for method for factory girl