Helper methods to deal with the output of php-mf2