Not sure how no one noticed that this was defining JSON_API_API