attempt to follow json api