Returns a new JSO after applying PROC to each key-value pair of JSO. The new and old JSOs share prototypes.