Issue #AR-1_serialization: initial commit of model serializer and tests.