add fromJson() methods for use from angular
add fromJson() methods for use from angular

sundriver/RAM,dave-cheong/RAM,atogov/RAM,atogov/RAM,sundriver/RAM,dave-cheong/RAM,dave-cheong/RAM,sundriver/RAM,atogov/RAM,dave-cheong/RAM,sundriver/RAM,atogov/RAM