Add consilium_helpers:extract_value_from_json/2
Refactor the resources to use consilium_helpers:extract_value_from_json/2
Add consilium_helpers:return_error/3
Refactor resources to use consilium_helpers:return_error/3