Add a custom API method to JSON API for getting author image