Fix parsing of JSON attributes returned by REST application
Remove duplicate fr_strerror_printf declaration