Fix error when clicking 'add new content' due to JSON.parse of ''

When clicking 'add new content' in admin for something with available_contents, you'll the following error:
JSON::ParserError A JSON text must at least contain two octets!

This is because params[:options] is an empty string and is then passed to JSON.parse().