group if statements and log.debug instead of warn.
Added empty hash for the new opts param for JSON parsing.
Merge pull request #293 from candlepin/cschevia/jsonpure

Added empty hash for the new opts param for JSON parsing.
Merge pull request #292 from candlepin/zeus/logdebug

group if statements and log.debug instead of warn.