parsing JSON object to block