WP_JSON_Posts::edit_post() return value is deprecated function

https://github.com/WP-API/WP-API/blob/master/lib/class-wp-json-posts.php#L317

WP_JSON_Posts::edit_post() returns the depreciated WP_JSON_Posts::getPost() method instead of the replacement WP_JSON_Posts::get_post().