#5624 added test to show setOptions on toArray output appropriately configures Smd; Updated toArray on Zend/Json/Server/Smd and Smd/Service to include the required attributes according to the SMD spec
#5624 best guess at correct code standards failure
#5624 moved brace to its own line
5624 removed unnecessary variable before return
Merge pull request #5644 from jeremygiberson/ZF2-5624

Addressing issue #5624. Implemented fix and added test case.
Merge branch 'hotfix/5644'

Close #5644
Fixes #5624