Fixing some content type logic, added additional validation check to ensure that fields is an array. Passing Testes, better variables.
Fixing some content type logic, added additional validation check to ensure that fields is an array. Passing Testes, better variables.

grasshopper-cms/grasshopper-core-nodejs,mjmostachetti/grasshopper-core-nodejs,Solid-Interactive/grasshopper-core-nodejs,Solid-Interactive/grasshopper-core-nodejs,grasshopper-cms/grasshopper-core-nodejs,mjmostachetti/grasshopper-core-nodejs