Update json-api.php

renaming functions names as they interfere with the new WP-API