Fix bug preventing metadata from being returned properly

Closes #297. Uses the proper variable name, converts y/n values to TRUE/FALSE, and conditionally unserializes.