Outputting HTML elements through WP-API

I realised my mistake. The following line in my functions.php:

~remove_filter('the_content', 'wpautop');

This was in the WordPress underscore empty template which I started the project with, and was removing html from the content.