Add jsonSerialize() method to stub file
Minor improvements to stub file
Merge pull request #36 from dcelasun/support-jsonserializable

Small additions to the stub file