Fixed JSON Parsing missing last entry of map or array