lhs
lhs copied to clipboard
allow as_json to receive mapped values
To be able to properly serialize a LHS item easily, lets introduce .as_json
http://api.rubyonrails.org/classes/ActiveModel/Serializers/JSON.html#method-i-as_json