Add as_json method for use in rails
Bump version