Dramatically simplify API
Store "result" in asset mapping
Fix fromJSON
More specs for JSON serialization