Added json serializable
Added global json serializable
Renamed some spec functions
Merge pull request #7 from Label305/hotfix_json2

Added JSON serializable