Added jsonSerialize method to Model
- Included new _getRawAttributesArr() method
- Also refactored __toString() to utilise new method
Merge branch 'jsonSerializeModel'