Correct create_blogposts_backend.php to return data in json format