fixed issue with JSON to client not breaking out items properly