Make rfc4627.erl more dialyzer friendly

See commit message for details.