be more lenient with mime type - allow charset at the end
better method names
add to_boolean and check for nil value
fix mustard calls