Looking into the logs when trying to load a config with more curly brackets than necessary (as we can deduce from your example above), the device returns:
Aug 8 23:26:45 [74663] Incoming: <?xml version="1.0" encoding="UTF-8"?><nc:rpc xmlns:nc="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="urn:uuid:9228a554-5dbf-11e6-af59-2c600c83f6e9"><load-configuration action="replace" format="text"><configuration-text>system { ntp { peer {172.17.17.1; } }</configuration-text></load-configuration></nc:rpc>]]>]]>
Aug 8 23:26:45 [74663] Outgoing: <rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" xmlns:junos="
http://xml.juniper.net/junos/13.3R6/junos" xmlns:nc="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="urn:uuid:9228a554-5dbf-11e6-af59-2c600c83f6e9">
Aug 8 23:26:45 [74663] Outgoing: <load-configuration-results>
Aug 8 23:26:45 [74663] Outgoing: <rpc-error>
Aug 8 23:26:45 [74663] Outgoing: <error-type>protocol</error-type>
Aug 8 23:26:45 [74663] Outgoing: <error-tag>operation-failed</error-tag>
Aug 8 23:26:45 [74663] Outgoing: <error-severity>error</error-severity>
Aug 8 23:26:45 [74663] Outgoing: <error-message>syntax error, expecting <identifier></error-message>
Aug 8 23:26:45 [74663] Outgoing: <error-info>
Aug 8 23:26:45 [74663] Outgoing: <bad-element>{</bad-element>
Aug 8 23:26:45 [74663] Outgoing: </error-info>
Aug 8 23:26:45 [74663] Outgoing: </rpc-error>
Aug 8 23:26:45 [74663] Outgoing: <rpc-error>
Aug 8 23:26:45 [74663] Outgoing: <error-severity>warning</error-severity>
Aug 8 23:26:45 [74663] Outgoing: <error-message>mgd: statement must contain additional statements</error-message>
Aug 8 23:26:45 [74663] Outgoing: </rpc-error>
Aug 8 23:26:45 [74663] Outgoing: </load-configuration-results>
Aug 8 23:26:45 [74663] Outgoing: </rpc-reply>
Aug 8 23:26:45 [74663] Outgoing: ]]>]]>
That means the output returned by Junos does not contain the details you expected.