Add serialization of SMAA model to JSON 

DBMS stuff