fixed bug with json generation
update swagger
Merge pull request #63 from learning-layers/rest_api

fixed bug with json generation