only parse format fields if FORMAT is present
Merge pull request #5 from ericminikel/patch-1

only parse format fields if FORMAT is present