remove .only
Return null on no ID for the JSON API