WIP: Make HAL formatter strict.

#186 

Just playing around with some code...
maybe better ``getResourceNameWithCurie()``?

Also why is the signature ``$property_name`` shouldn't it be ``$resource_name``?