Addition of capturing of values

This adds capturing of primitive values from JSON Objects and Arrays, placing captured values into a map with the given key. 

Test coverage is 100% and no new Checkstyle or FindBugs violations are introduced. 

This is in use in production so I hope you can merge into trunk.