adding custom body action to serve json up for consumption by jasmine later
merging in my changes, some style changes must be above common gem implementation