Simple json api to the wordpress media library.