#243: Add JSON support to config protect