Fixed bug in formatter relating to deeply nested properties